package com.powervision.base.util

/**
 * @auth: njb
 * @date: 2021/12/13 14:33
 * @desc: 常量工具类
 */
class Constants {
    companion object {
        const val BASE_URL = "https://wanandroid.com"
        //用户登录
        const val USER_LOGIN_URL = "/user/login"
        //用户注册
        const val USER_REGISTER_URL = "/user/register"
        //用户退出
        const val USER_LOGOUT_URL = "/user/logout/json"
        //文章列表
        const val ARTIST_LIST_URL = "/article/list/{page}/json"
        //体系数据
        const val TREE_LIST_URL = "/tree/json"
        //首页Banner
        const val BANNER_URL = "/banner/json"
        //常用网站
        const val FRIEND_URL = "/friend/json"
        //搜索热词url
        const val HOTKEY_URL = "/hotkey/json"
        //导航url
        const val NAVI_URL = "/navi/json"
        //项目分类
        const val PROJECT_TREE_URL ="/project/tree/json"
        //项目分类列表
        const val PROJECT_LIST_URL = "/project/list/{page}/json"
        //收藏文章列表
        const val  COLLECT_LIST_URL =  "/lg/collect/list/0/json"
        //收藏站内文章
        const val  COLLECT_1165_URL = "/lg/collect/1165/json"
        //收藏站外文章
        const val COLLECT_ADD_URL = "/lg/collect/add/json"
        //我的收藏
        const val UNCOLLECT_2805_URL = "/lg/uncollect/2805/json"
        //取消收藏
        const val UNCOLLECT_ORIGINID_URL = "/lg/uncollect_originId/2333/json"
        //个人信息接口
        const val USER_INFO_URL = "/user/lg/userinfo/json"
        //按作者昵称搜索文章
        const val ARTICLE_SEARCH_URL = "/article/list/{page}/json"
        //置顶文章
        const val ARTICLE_TOP_URL = "/article/top/json"
        //获取公众号列表
        const val WXARTICLE_URL = "/wxarticle/chapters/json"
        //查看公众号历史记录
        const val WXARTICLE_LIST_URL = "/wxarticle/list/{id}/{page}/json"
        //在某个公众号中搜索历史文章
        const val WXARTICLE_SEARCH_LIST_URL= "/wxarticle/list/{id}/{page}/json"
        //最新项目tab
        const val LIST_PROJECT_URL = "/article/listproject/{page}/json"

        const val USER_ARTICLE_URL = "/user_article/list/{page}/json"
    }
}